
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.PigHouse;
import cn.edu.scau.cmi.hombio.domain.Task;
import cn.edu.scau.cmi.hombio.domain.TaskPighouse;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for TaskPighouse entities
 * 
 */
public interface TaskPighouseService {

	/**
	* Delete an existing PigHouse entity
	* 
	 */
	public TaskPighouse deleteTaskPighousePigHouse(Integer taskpighouse_id, Integer related_pighouse_id);

	/**
	* Delete an existing TaskPighouse entity
	* 
	 */
	public void deleteTaskPighouse(TaskPighouse taskpighouse);

	/**
	* Save an existing PigHouse entity
	* 
	 */
	public TaskPighouse saveTaskPighousePigHouse(Integer id, PigHouse related_pighouse);

	/**
	* Delete an existing Task entity
	* 
	 */
	public TaskPighouse deleteTaskPighouseTask(Integer taskpighouse_id_1, Integer related_task_id);

	/**
	* Return a count of all TaskPighouse entity
	* 
	 */
	public Integer countTaskPighouses();

	/**
	 */
	public TaskPighouse findTaskPighouseByPrimaryKey(Integer id_1);

	/**
	* Save an existing TaskPighouse entity
	* 
	 */
	public void saveTaskPighouse(TaskPighouse taskpighouse_1);

	/**
	* Load an existing TaskPighouse entity
	* 
	 */
	public Set<TaskPighouse> loadTaskPighouses();

	/**
	* Save an existing Task entity
	* 
	 */
	public TaskPighouse saveTaskPighouseTask(Integer id_2, Task related_task);

	/**
	* Return all TaskPighouse entity
	* 
	 */
	public List<TaskPighouse> findAllTaskPighouses(Integer startResult, Integer maxRows);
}